<%-- 
    Document   : listemed
    Created on : 18 nov. 2014, 11:32:12
    Author     : sio
--%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>liste des médecins</h1>

        <table border = 1>
            <tr>
                <td>Nom</td>
                <td>Prenom</td>
                <td>Adresse</td>
                <td>Téléphone</td>
                <td>Specialité Complementaire</td>
            </tr>
                <c:forEach var="med" items="${lesMeds}">
                    <tr>
                        <td value="${med.nom}">${med.nom}</td>
                        <td value="${med.prenom}">${med.prenom}</td>
                        <td value="${med.adresse}">${med.adresse}</td>
                        <td value="${med.tel}">${med.tel}</td>
                        <td value="${med.spe}">${med.spe}</td>
                    </tr>
                </c:forEach>
        </table>


    </body>
</html>